D O M Domain
This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object that has an id
. This id
can be used to get additional information on the Node, resolve it into the JavaScript object wrapper, etc. It is important that client receives DOM events only for the nodes that are known to the client. Backend keeps track of the nodes that were sent to the client and never sends the same node twice. It is client's responsibility to collect information about the nodes that were sent to the client.<p>Note that iframe
owner elements will return corresponding document elements as their child nodes.</p>
Functions
attributeModified
Link copied to clipboard
attributeRemoved
Link copied to clipboard
characterDataModified
Link copied to clipboard
childNodeCountUpdated
Link copied to clipboard
childNodeInserted
Link copied to clipboard
childNodeRemoved
Link copied to clipboard
collectClassNamesFromSubtree
Link copied to clipboard
fun collectClassNamesFromSubtree(input: CollectClassNamesFromSubtreeRequest): Single<CollectClassNamesFromSubtreeResponse>
Content copied to clipboard
copyTo
Link copied to clipboard
describeNode
Link copied to clipboard
fun describeNode(input: DescribeNodeRequest): Single<DescribeNodeResponse>
Content copied to clipboard
description
Link copied to clipboard
disable
Link copied to clipboard
discardSearchResults
Link copied to clipboard
fun discardSearchResults(input: DiscardSearchResultsRequest): Single<RequestResponseFrame>
Content copied to clipboard
distributedNodesUpdated
Link copied to clipboard
documentUpdated
Link copied to clipboard
enable
Link copied to clipboard
events
Link copied to clipboard
focus
Link copied to clipboard
getAttributes
Link copied to clipboard
fun getAttributes(input: GetAttributesRequest): Single<GetAttributesResponse>
Content copied to clipboard
getBoxModel
Link copied to clipboard
getContentQuads
Link copied to clipboard
fun getContentQuads(input: GetContentQuadsRequest): Single<GetContentQuadsResponse>
Content copied to clipboard
getDependencies
Link copied to clipboard
getDocument
Link copied to clipboard
getFileInfo
Link copied to clipboard
getFlattenedDocument
Link copied to clipboard
fun getFlattenedDocument(input: GetFlattenedDocumentRequest): Single<GetFlattenedDocumentResponse>
Content copied to clipboard
getFrameOwner
Link copied to clipboard
fun getFrameOwner(input: GetFrameOwnerRequest): Single<GetFrameOwnerResponse>
Content copied to clipboard
getNodeForLocation
Link copied to clipboard
fun getNodeForLocation(input: GetNodeForLocationRequest): Single<GetNodeForLocationResponse>
Content copied to clipboard
getNodesForSubtreeByStyle
Link copied to clipboard
fun getNodesForSubtreeByStyle(input: GetNodesForSubtreeByStyleRequest): Single<GetNodesForSubtreeByStyleResponse>
Content copied to clipboard
getNodeStackTraces
Link copied to clipboard
fun getNodeStackTraces(input: GetNodeStackTracesRequest): Single<GetNodeStackTracesResponse>
Content copied to clipboard
getOuterHTML
Link copied to clipboard
fun getOuterHTML(input: GetOuterHTMLRequest): Single<GetOuterHTMLResponse>
Content copied to clipboard
getRelayoutBoundary
Link copied to clipboard
fun getRelayoutBoundary(input: GetRelayoutBoundaryRequest): Single<GetRelayoutBoundaryResponse>
Content copied to clipboard
getSearchResults
Link copied to clipboard
fun getSearchResults(input: GetSearchResultsRequest): Single<GetSearchResultsResponse>
Content copied to clipboard
hideHighlight
Link copied to clipboard
highlightNode
Link copied to clipboard
highlightRect
Link copied to clipboard
inlineStyleInvalidated
Link copied to clipboard
markUndoableState
Link copied to clipboard
moveTo
Link copied to clipboard
performSearch
Link copied to clipboard
fun performSearch(input: PerformSearchRequest): Single<PerformSearchResponse>
Content copied to clipboard
pseudoElementAdded
Link copied to clipboard
pseudoElementRemoved
Link copied to clipboard
pushNodeByPathToFrontend
Link copied to clipboard
fun pushNodeByPathToFrontend(input: PushNodeByPathToFrontendRequest): Single<PushNodeByPathToFrontendResponse>
Content copied to clipboard
pushNodesByBackendIdsToFrontend
Link copied to clipboard
fun pushNodesByBackendIdsToFrontend(input: PushNodesByBackendIdsToFrontendRequest): Single<PushNodesByBackendIdsToFrontendResponse>
Content copied to clipboard
querySelector
Link copied to clipboard
fun querySelector(input: QuerySelectorRequest): Single<QuerySelectorResponse>
Content copied to clipboard
querySelectorAll
Link copied to clipboard
fun querySelectorAll(input: QuerySelectorAllRequest): Single<QuerySelectorAllResponse>
Content copied to clipboard
redo
Link copied to clipboard
removeAttribute
Link copied to clipboard
fun removeAttribute(input: RemoveAttributeRequest): Single<RequestResponseFrame>
Content copied to clipboard
removeNode
Link copied to clipboard
requestChildNodes
Link copied to clipboard
fun requestChildNodes(input: RequestChildNodesRequest): Single<RequestResponseFrame>
Content copied to clipboard
requestNode
Link copied to clipboard
resolveNode
Link copied to clipboard
scrollIntoViewIfNeeded
Link copied to clipboard
fun scrollIntoViewIfNeeded(input: ScrollIntoViewIfNeededRequest): Single<RequestResponseFrame>
Content copied to clipboard
setAttributesAsText
Link copied to clipboard
fun setAttributesAsText(input: SetAttributesAsTextRequest): Single<RequestResponseFrame>
Content copied to clipboard
setAttributeValue
Link copied to clipboard
fun setAttributeValue(input: SetAttributeValueRequest): Single<RequestResponseFrame>
Content copied to clipboard
setChildNodes
Link copied to clipboard
setFileInputFiles
Link copied to clipboard
fun setFileInputFiles(input: SetFileInputFilesRequest): Single<RequestResponseFrame>
Content copied to clipboard
setInspectedNode
Link copied to clipboard
fun setInspectedNode(input: SetInspectedNodeRequest): Single<RequestResponseFrame>
Content copied to clipboard
setNodeName
Link copied to clipboard
setNodeStackTracesEnabled
Link copied to clipboard
fun setNodeStackTracesEnabled(input: SetNodeStackTracesEnabledRequest): Single<RequestResponseFrame>
Content copied to clipboard
setNodeValue
Link copied to clipboard
fun setNodeValue(input: SetNodeValueRequest): Single<RequestResponseFrame>
Content copied to clipboard
setOuterHTML
Link copied to clipboard
fun setOuterHTML(input: SetOuterHTMLRequest): Single<RequestResponseFrame>
Content copied to clipboard
shadowRootPopped
Link copied to clipboard
shadowRootPushed
Link copied to clipboard
undo
Link copied to clipboard
Sources
jvm source
Link copied to clipboard